﻿namespace TeBigCommonUI.Items
{
    public class ChartData<TX, TY>
    {
        public TX AxisX { get; set; }

        public TY AxisY { get; set; }
    }

    public class ChartRange<TX, TY>
    {
        public TX AxisX { get; set; }

        public TY AxisYMin { get; set; }

        public TY AxisYMax { get; set; }
    }

    public class PieData<TX, TY> : ChartData<TX, TY>
    {
    }

    public class BubbleData<TX, TY> : ChartData<TX, TY>
    {
        public double Weight { get; set; }
    }

    public struct CoordData
    {
        public double Longitude { get; set; }

        public double Latitude { get; set; }
    }
}